package response

type LoginRes struct {
	Token        string         `json:"token"`
	RefreshToken string         `json:"refreshToken"`
	UserInfo     UserInfoCommon `json:"userInfo"`
}

type UserInfoCommon struct {
	Id       int64  `json:"id"`
	Name     string `json:"name"`
	NickName string `json:"nickName"`
	Email    string `gorm:"column:email;comment:'邮箱'"`
	PassWord string `gorm:"column:password;comment:'用户密码'"`
	Phone    string `gorm:"column:phone;comment:'联系电话'"`
	Tag      int8   `gorm:"column:tag;comment:'标签'"`
	Status   int8   `gorm:"column:status;comment:'用户账户状态 -1:未审核或者拒绝 1:启用 2:禁用'"`
}
